import {useRoutes} from 'react-router-dom'
import routes from './router/index'
import {Suspense} from 'react'
export default function App() {
  return <Suspense fallback={<div>正在加载中请稍后...</div>}>
    {useRoutes(routes)}
  </Suspense>
}
